package com.cybertron.ironhide.spider.jms.sender;

import org.springframework.jms.core.JmsTemplate;

import com.cybertron.ironhide.spider.domain.Product;

public class ProductMessageSender {

	public JmsTemplate jmsTemplate;

	public void sendMsg(Product product) {
		jmsTemplate.convertAndSend(product);
	}

	public void setJmsTemplate(JmsTemplate jmsTemplate) {
		this.jmsTemplate = jmsTemplate;
	}
}
